package com.star.uc.infras.repository.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.star.common.orm.contract.entity.BasePO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * 用户Ip相关配置，比如，Ip白名单，Ip 限制数量(UserIpConfig)表实体类
 *
 * @author 周恒哲
 * @since 2023-11-01 18:17:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user_ip_config")
@Schema(description = "用户Ip相关配置")
@EqualsAndHashCode(callSuper = true)
public class UserIpConfigPO extends BasePO {
    /**
     * IP白名单
     */
    @Schema(description = "IP白名单")
    private String ipWhiteList;
    /**
     * ip限制注册数量
     */
    @Schema(description = "ip限制注册数量")
    private Integer ipLimitRegisterCount;
    /**
     * 状态
     * @see com.star.uc.contract.enums.UserStatusEnum
     */
    @Schema(description = "状态")
    private Integer status;
}

